Actor Oriented Programming in Chapel
نویسندگان
چکیده
Programming for scalable multi-cores with more focus on locality has increased the interest in message passing models of programming. One of the well known theoretical and practical models of message passing is the actor model. There are a multitude of actor oriented libraries and languages, each of which implement some variant of actor semantics. Among the languages and the libraries based on the actor semantics we can name Erlang, SALSA, E language and Axum. Chapel is a global view language and have no notion of actor and message passing. However, it tends to be a general language for parallel and concurrent programming and wants to provide simple means for the programmer to implement a parallel program. In this work we want to study and analyze some questions regarding actors in the Chapel language. In particular we want to answer the following questions: • Why do we need actor semantics in Chapel? In particular we want to see if we really need something like actors in Chapel. • What are the advantages and disadvantages of having actor semantics implemented in Chapel? By answering this question we will see what is the profit of having actors for programmer. Also we try to see what is the cost of having the actor semantics implemented in chapel. • Can we do actor oriented programming with current Chapel language constructs? This question tries to reveal how well or poorly the current constructs in Chapel support actor style programming. • What changes are needed to support true actor semantics in Chapel? The answer to this question helps us to realize the changes required to the compiler and run-time in order to have a true actor semantics in Chapel. This study would be valuable to the Chapel community because it provides a fair amount of knowledge on the cost and benefits of having actors in Chapel and can help them with starting points for implementing actor semantics in the language.
منابع مشابه
Actor-Oriented Programming for Wireless Sensor Networks
Actor-Oriented Programming for Wireless Sensor Networks
متن کاملModelling a Static Concurrent Object Oriented Programming System
We present a study of the interaction properties of objects in concurrent object oriented programming. We identify a set of basic interaction mechanisms: object identity, asyn-chronous message passing, implicit receive primitive, which are closed to those of the actor model. Then, we deene an actor algebra over actor terms as a basic formalism for representing the semantic of concurrent object ...
متن کاملIndexing in an Actor-Oriented Database
Many of today’s interactive server applications are implemented using actor-oriented programming frameworks. Such applications treat actors as a distributed in-memory object-oriented database. However, actor programming frameworks offer few if any database system features, leaving application developers to fend for themselves. It is challenging to add such features because the design space is d...
متن کاملOn Implementing a Monitor-Oriented Programming Framework for Actor Systems
We examine the challenges of implementing a framework for automating Monitor-Oriented Programming in the context of actor-based systems. The inherent modularity resulting from delineations induced by actors makes such systems well suited to this style of programming because monitors can surgically target parts of the system without affecting the computation in other parts. At the same time, act...
متن کاملOn Semantic Link Between Logic, Object-Oriented, Functional and Constraint Programming
In the article I investigate semantic and operational links among object-oriented, logic, functional and constraint programming paradigms by an example of implementing them in logic language Actor Prolog. I show how means developed for ensuring model-theoretic semantics of object-oriented and functional features in the Actor Prolog have led to creation of a method of implementing a weak form of...
متن کامل